{210409} Hello, World!


Posted by nuoxoxo on 2021-04-15

👋 Hi!
CoderBridge筆記
Github Issues 草稿紙


Map


grep

這個詞就像一個動詞,grep,比較一下 grab (抓),或者 grip (也是抓)。通常我們用 grep 來抓住我們想要的,更準確地說應該是「篩選出匹配的」。就像抓沙,一部分留下,另一部分從指縫流走。

grep 後面可接若干個「條件」,加上管子'|'使指令形成一個迴圈。條件可以有很多個,牠們不會一起進 pipeline 而是從左到右。像遊戲 Badland 那樣,一個被吸進去,他必須走完全程(即經歷餘下的指令的篩選)。等他走完、從另一端出來,才輪到下一位進去,如此類推。

HW1 練習 中我們用 curl 聯繫 api ,然後用 grep 抓 keys (總共4個)。

tags: lidemy

#Lidemy #grep #MTR05







Related Posts

Solidity筆記 _ 基本語法

Solidity筆記 _ 基本語法

Secure Apache Using Certbot with Let's Encrypt on Ubuntu 20.04

Secure Apache Using Certbot with Let's Encrypt on Ubuntu 20.04

Visual Studio Code (VS Code) 設置全域ESLint

Visual Studio Code (VS Code) 設置全域ESLint


Comments